home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 October / Macformat17.cdr / Shareware City / Developers / WASTETCL / WASTEEdit ƒ / CEditDoc.h < prev    next >
Text File  |  1994-03-22  |  555b  |  25 lines

  1. /****
  2.  * CEditDoc.h
  3.  *
  4.  *    Document class for a tiny editor.
  5.  *
  6.  ****/
  7.  
  8. #define    _H_CEditDoc            /* Include this file only once */
  9. #include <CDocument.h>
  10. #include <CApplication.h>  
  11.  
  12. struct CEditDoc : CDocument {
  13.  
  14.                                     /** Construction/Destruction **/
  15.                                         
  16.     void        IEditDoc(CApplication *aSupervisor, Boolean printable);
  17.  
  18.     void        NewFile(void);
  19.     void        OpenFile(SFReply *macSFReply);
  20.     void        BuildWindow(Handle theData);
  21.     
  22.                                     /** Filing **/
  23.     Boolean        DoSave(void);
  24.     Boolean        DoSaveAs(SFReply *macSFReply);
  25. };